﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Centrica.Task.Model
{
    /// <summary>
    ///
    /// </summary>
    public interface ITaskProvider
    {
        List<Task> GetAllTasks();
        List<Task> GetByTemplate(Task template);
        Task Find(Func<Task, Boolean> predicate);
        void AddNewTask(Task task);
        void UpdateTask(Task task);
        void RemoveTask(Task task);
    }
}
